﻿using System;

using SBPweb.Forge.Contracts.Events;

namespace SBPweb.Communication.Shared.Library.Commands
{

    public class CommandBaseCancelEventArgs : CommandBaseEventArgs
    {

        #region Constructor logic

        public CommandBaseCancelEventArgs(CommandBase command)
            : base(command)
        {
        }

        public CommandBaseCancelEventArgs(CommandBase command, bool cancel)
            : base(command)
        {
            this.Cancel = cancel;
        }

        #endregion

        #region Property accessors

        public bool Cancel
        {
            get;
            set;
        }

        #endregion

    }

}